package com.xin.springcloudquartz.dataobject;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Entity
@Data
@DynamicUpdate
public class Event {
    @Id
    private String id;

    private String openId;

    private Integer status; //状态 0为开启 1为关闭

    private String title;  //标题

    private String content;//内容

    private String time;  //事件时间

    private Date createTime;

    private Date updateTime;

}
